package com.cn.longdistancebusstation.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by mal on 2018/1/21.
 */

public class Contacter implements Serializable{
    @SerializedName("userName")
    @Expose private String name;

    @SerializedName("idNum")
    @Expose private String cardNo;

    //成人、儿童、学生、军人
    @SerializedName("userType")
    @Expose private int type;
    //
    private String typeDesc;

    private String telephone;
    private Boolean mIsPayInsurance;
    private Boolean mIsChoose;
    private Boolean mIsSendChoose;

    @Expose private String id;
    private Coupons coupons;

    private Privilege mPrivilege;

    public Contacter() {
        mIsPayInsurance = true;
        mIsChoose = false;
        mPrivilege = new Privilege();
        mIsSendChoose = false;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getTypeDesc() {
        return typeDesc;
    }

    public void setTypeDesc(String typeDesc) {
        this.typeDesc = typeDesc;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Boolean getPayInsurance() {
        return mIsPayInsurance;
    }

    public void setPayInsurance(Boolean payInsurance) {
        mIsPayInsurance = payInsurance;
    }

    public Boolean getChoose() {
        return mIsChoose;
    }

    public void setChoose(Boolean choose) {
        mIsChoose = choose;
    }

    public Coupons getCoupons() {
        return coupons;
    }

    public void setCoupons(Coupons coupons) {
        this.coupons = coupons;
    }

    public Privilege getPrivilege() {
        return mPrivilege;
    }

    public void setPrivilege(Privilege privilege) {
        mPrivilege = privilege;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Boolean getSendChoose() {
        return mIsSendChoose;
    }

    public void setSendChoose(Boolean sendChoose) {
        mIsSendChoose = sendChoose;
    }
}
